package com.lemonsama.lesson5;

import javax.swing.*;
import java.awt.*;

public class ComboboxTest01 extends JFrame {
    public ComboboxTest01() {

        Container contentPane = this.getContentPane();

        JComboBox status = new JComboBox();

        status.addItem(null);
        status.addItem("正在上映");
        status.addItem("已下架");
        status.addItem("即将上映");

        contentPane.add(status);

        this.setVisible(true);
        this.setSize(500, 350);
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    }

    public static void main(String[] args) {
        new ComboboxTest01();
    }
}
